﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FSM.Model
{
    /// <summary>
    /// 事件类型
    /// </summary>
    public class EventType
    {
        /// <summary>
        /// 查询事件
        /// </summary>
        public static int ViewItem => 100000;

        /// <summary>
        /// 获取单个信息
        /// </summary>
        public static int GetItem => 100001;

        /// <summary>
        /// 获得多个信息
        /// </summary>
        public static int ListItem => 100002;

        /// <summary>
        /// 更新事件
        /// </summary>
        public static int UpdateItem => 100003;

        /// <summary>
        /// 删除事件
        /// </summary>
        public static int DeleteItem => 100004;

        /// <summary>
        /// 还原密码事件
        /// </summary>
        public static int ResetPassword => 100005;

        /// <summary>
        /// 修改密码事件
        /// </summary>
        public static int UpdatePassword => 100006;

        /// <summary>
        /// 修改角色权限事件
        /// </summary>
        public static int RolePower => 100007;

        /// <summary>
        /// 修改用户权限事件
        /// </summary>
        public static int UserPower => 100008;

        public static int Login => 100009;
    }
}
